//
//  UIViewController+NavigationAdition.h
//  XFilm
//
//  Created by TuanNT on 5/15/14.
//  Copyright (c) 2014 NetViet. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <objc/runtime.h>

typedef void (^HandleBlock)(void);

@interface UIViewController (NavigationAdition)

- (void)setNavigationLeftItem:(UIImage *)image
                    withBlock:(HandleBlock)block;

- (void)setNavigationLeftItem:(UIImage *)image
                     andTitle:(NSString *)title
                    withBlock:(HandleBlock)block;

/* Show menu barbutton item on the left navigationbar */
- (void)showMenuBarButtonItem;

/* Show left bar button item on the left */
- (void)setEnableBackButton:(BOOL)enable;
@end
